#include <gtk/gtk.h>
#include <glib/gprintf.h>

int main(int argc,char **argv){
	gpointer p = NULL;

	//g_assert_not_reached();
	//g_return_val_if_fail(p != NULL,1);
	GTimer *timer = g_timer_new();
	g_timer_start(timer);
	for(int i = 0;i<5;i++){
		printf("%d hello world\n",i);
	}
	gulong ms = 0;
	gdouble take = g_timer_elapsed(timer,&ms);
	g_printf("%s:take %f.%lu s\n",__func__,take,ms);

	const gchar *app_name,*u_name,*u_real_name;
	app_name = g_get_prgname();
	u_name = g_get_user_name();
	u_real_name = g_get_real_name();
	g_warning("%s %s %s\n",app_name,u_name,u_real_name);

	g_timer_destroy(timer);
	g_log(G_LOG_DOMAIN,G_LOG_LEVEL_DEBUG,"hello %s","penguin");

	g_printf("%s:hello world!",__func__);
	return 0;
}